package com.cqjtu.store.common;

import java.util.Arrays;
import java.util.List;

/**
 * @ProjectName: cqjtu-store
 * @Titile: Constants
 * @Author: Lucky
 * @Description: 常量量
 */
public class Constants {
    //未删除
    public static final int IS_NOT_DELETE=0;
    //删除
    public static final int IS_DELETE=1;
    /*hash次数*/
    public static final int HASH_TIME = 6;

    public static final List<String> FILE_TYPE = Arrays.asList("image/jpeg","image/jpg","image/png");

    public static final long FILE_MAX_SIZE = 2*1024*1024;

    /*默认地址*/
    public static final int DEFALUT_ADDRESS = 1;
    /*非默认地址*/
    public static final int NOT_DEFALUT_ADDRESS = 0;
    /*最多的地址条目数*/
    public static final int ADDRESS_MAX_TIMES = 5;
}
